package com.liu.community.server;/*
 *@Author:Liu Xing-zhi
 *Description:
 *Date:Crated in 20:02 2021/10/16
 */

import com.liu.community.dto.NotificationDto;
import com.liu.community.dto.PageDto;
import com.liu.community.dto.QuestionDto;
import com.liu.community.pojor.User;

public interface NotificationService {

    PageDto<NotificationDto> list(Integer userId, Integer currentPage, Integer pageSize);

    Integer unreadCount(Integer id);

    NotificationDto read(Integer id, User user);
}
